<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>Player</title>
</head>
<body style="background-color:#FFFFFF;color:#000000"><a NAME="top" ID="top"></a>
<h1 style="background-color:#FFFFFF;color:#0000FF">Player</h1>

<h3 style="background-color:#FFFFFF;color:#FF0000">Global Attributes</h3>
<table>
<tr><td>Player</td></tr>
</table>
<h3 style="background-color:#FFFFFF;color:#FF0000">Classes</h3>
<table>
<tr>
<td><a style="color:#0000FF" href="#Player">Player</a></td>
<td>Base Player commaPlayer.pynds</td>
</tr>
</table>
<h3 style="background-color:#FFFFFF;color:#FF0000">Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="Player" ID="Player"></a>
<h2 style="background-color:#FFFFFF;color:#0000FF">Player</h2>
<p>
 Base Player commaPlayer.pynds 
</p>
<h3 style="background-color:#FFFFFF;color:#FF0000">Derived from</h3>
object
<h3 style="background-color:#FFFFFF;color:#FF0000">Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3 style="background-color:#FFFFFF;color:#FF0000">Methods</h3>
<table>
<tr>
<td><a style="color:#0000FF" href="#Player.__init__">Player</a></td>
<td></td>
</tr><tr>
<td><a style="color:#0000FF" href="#Player.getColor">getColor</a></td>
<td>Returns true/false if the char wants color.</td>
</tr><tr>
<td><a style="color:#0000FF" href="#Player.get_name">get_name</a></td>
<td></td>
</tr><tr>
<td><a style="color:#0000FF" href="#Player.get_password">get_password</a></td>
<td></td>
</tr><tr>
<td><a style="color:#0000FF" href="#Player.get_sock_ref">get_sock_ref</a></td>
<td></td>
</tr><tr>
<td><a style="color:#0000FF" href="#Player.prompt">prompt</a></td>
<td>Returns a prompt to show to the user.</td>
</tr><tr>
<td><a style="color:#0000FF" href="#Player.setColor">setColor</a></td>
<td>Sets the color flag to true or false.</td>
</tr><tr>
<td><a style="color:#0000FF" href="#Player.set_name">set_name</a></td>
<td></td>
</tr><tr>
<td><a style="color:#0000FF" href="#Player.set_password">set_password</a></td>
<td></td>
</tr><tr>
<td><a style="color:#0000FF" href="#Player.set_sock_ref">set_sock_ref</a></td>
<td></td>
</tr><tr>
<td><a style="color:#0000FF" href="#Player.write_plain">write_plain</a></td>
<td>Writes data to the socket without a prompt following.</td>
</tr><tr>
<td><a style="color:#0000FF" href="#Player.write_with_prompt">write_with_prompt</a></td>
<td>Writes a string to the socket with a prompt following.</td>
</tr>
</table>
<a NAME="Player.__init__" ID="Player.__init__"></a>
<h3 style="background-color:#FFFFFF;color:#FF0000">Player (Constructor)</h3>
<b>Player</b>(<i>sockRef=''</i>)
<a NAME="Player.getColor" ID="Player.getColor"></a>
<h3 style="background-color:#FFFFFF;color:#FF0000">Player.getColor</h3>
<b>getColor</b>(<i></i>)
<p>
Returns true/false if the char wants color.
</p><a NAME="Player.get_name" ID="Player.get_name"></a>
<h3 style="background-color:#FFFFFF;color:#FF0000">Player.get_name</h3>
<b>get_name</b>(<i>name</i>)
<a NAME="Player.get_password" ID="Player.get_password"></a>
<h3 style="background-color:#FFFFFF;color:#FF0000">Player.get_password</h3>
<b>get_password</b>(<i>name</i>)
<a NAME="Player.get_sock_ref" ID="Player.get_sock_ref"></a>
<h3 style="background-color:#FFFFFF;color:#FF0000">Player.get_sock_ref</h3>
<b>get_sock_ref</b>(<i></i>)
<a NAME="Player.prompt" ID="Player.prompt"></a>
<h3 style="background-color:#FFFFFF;color:#FF0000">Player.prompt</h3>
<b>prompt</b>(<i></i>)
<p>
Returns a prompt to show to the user.
</p><a NAME="Player.setColor" ID="Player.setColor"></a>
<h3 style="background-color:#FFFFFF;color:#FF0000">Player.setColor</h3>
<b>setColor</b>(<i>flag</i>)
<p>
Sets the color flag to true or false.
</p><a NAME="Player.set_name" ID="Player.set_name"></a>
<h3 style="background-color:#FFFFFF;color:#FF0000">Player.set_name</h3>
<b>set_name</b>(<i>name</i>)
<a NAME="Player.set_password" ID="Player.set_password"></a>
<h3 style="background-color:#FFFFFF;color:#FF0000">Player.set_password</h3>
<b>set_password</b>(<i>name, password</i>)
<a NAME="Player.set_sock_ref" ID="Player.set_sock_ref"></a>
<h3 style="background-color:#FFFFFF;color:#FF0000">Player.set_sock_ref</h3>
<b>set_sock_ref</b>(<i>sockRef</i>)
<a NAME="Player.write_plain" ID="Player.write_plain"></a>
<h3 style="background-color:#FFFFFF;color:#FF0000">Player.write_plain</h3>
<b>write_plain</b>(<i>data</i>)
<p>
Writes data to the socket without a prompt following.
</p><a NAME="Player.write_with_prompt" ID="Player.write_with_prompt"></a>
<h3 style="background-color:#FFFFFF;color:#FF0000">Player.write_with_prompt</h3>
<b>write_with_prompt</b>(<i>data</i>)
<p>
Writes a string to the socket with a prompt following.
</p>
<div align="right"><a style="color:#0000FF" href="#top">Up</a></div>
<hr />
</body></html>